<div class="page-container">
	<!-- 搜索区 -->
	<div search_url="<{:url('adminpower/lists')}>">
		日期范围：
		<input type="text" id="min_time" name="min_time" placeholder="最小时间" class="input-text" style="width:160px;">
		-
		<input type="text" id="max_time" name="max_time" placeholder="最大时间" class="input-text" style="width:160px;">
		
		<span class="select-box inline">
		<select class="select" onchange="com_quicktime(this)">
			<option value="0">快捷时间</option>
			<option value="1">最近1天</option>
			<option value="2">最近2天</option>
			<option value="3">最近3天</option>
			<option value="4">最近4天</option>
			<option value="5">最近5天</option>
			<option value="6">最近6天</option>
			<option value="7">最近7天</option>
			<option value="8">最近8天</option>
			<option value="9">最近9天</option>
			<option value="10">最近10天</option>
			<option value="20">最近20天</option>
			<option value="30">最近30天</option>
			<option value="60">最近60天</option>
			<option value="90">最近90天</option>
			<option value="365">最近365天</option>
		</select>
		</span> 
		<input type="text" name="keyword" placeholder=" 请输入关键" style="width:250px" class="input-text">

		<span class="select-box inline">
		<select name="type" class="select">
	          <{volist name="type" id="v"}>
	              <option value="<{$key}>">
                  <{$v}>
	              </option>
	          <{/volist}>
		</select>
		</span> 
		
		<button class="btn btn-success" onclick="c_search(1)" type="submit">
		<i class="Hui-iconfont">&#xe665;</i>
		 搜索
		</button>		
	</div>
	
	<!-- 操作区 -->
	<div class="cl pd-5 bg-1 bk-gray mt-20"> 
		<span class="l">
		<a href="javascript:;" _url="<{:url('adminpower/delall')}>" msg="您确定要批量删除？" onclick="c_delall(this)" class="btn btn-danger radius">
			<i class="Hui-iconfont">&#xe6e2;</i> 
			批量删除
		</a>
		<a class="btn btn-primary radius" title="添加" _ptitle='添加权限' _width=400 _height=400 _url="<{:url('adminpower/add')}>" onclick="c_action(this)" href="javascript:;">
			<i class="Hui-iconfont">&#xe600;</i> 
			添加
		</a>
		</span>
	</div>
	
	<!-- 列表 -->
	<div class="mt-20">
		<div class="dataTables_wrapper no-footer">
		<table class="table table-border table-bordered table-bg table-hover table-sort">
			<thead>
				<tr>
					<th width="25"><input type="checkbox" name="all"></th>
					<th width="80">ID</th>
					<th>名称</th>
					<th>分类</th>
					<th>模块</th>
					<th>操作类</th>
					<th>方法名</th>
					<th>时间</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody id="com_body">
			</tbody>
		</table>
		<div id="com_page"></div>
		</div>
	</div>
</div>

<script>
$().ready(function(){
	c_search(1);
});
</script>